<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<title>扬宸进销存系统</title>
	<link rel="stylesheet" href="${request.contextPath}/statics/plugins/HoorayOS_mini/js/HoorayLibs/hooraylibs.css">
	<link rel="stylesheet" href="${request.contextPath}/statics/plugins/HoorayOS_mini/img/ui/index.css">
</head>

<body>
<div class="loading"></div>
<!-- 浏览器升级提示 -->
<div class="update_browser_box">
	<div class="update_browser">
		<div class="subtitle">您正在使用的IE浏览器版本过低，<br>我们建议您升级或者更换浏览器，以便体验顺畅、兼容、安全的互联网。</div>
		<div class="title">选择一款<span>新</span>浏览器吧</div>
		<div class="browser">
			<a href="http://windows.microsoft.com/zh-CN/internet-explorer/downloads/ie" class="ie" target="_blank" title="ie浏览器">ie浏览器</a>
			<a href="http://www.google.cn/chrome/intl/zh-CN/landing_chrome.html" class="chrome" target="_blank" title="谷歌浏览器">谷歌浏览器</a>
			<a href="http://www.firefox.com.cn" class="firefox" target="_blank" title="火狐浏览器">火狐浏览器</a>
			<a href="http://www.opera.com" class="opera" target="_blank" title="opera浏览器">opera浏览器</a>
			<a href="http://www.apple.com.cn/safari" class="safari" target="_blank" title="safari浏览器">safari浏览器</a>
		</div>
		<div class="bottomtitle">[&nbsp;<a href="http://www.baidu.com/search/theie6countdown.html" target="_blank">对IE6说再见</a>&nbsp;]</div>
	</div>
</div>
<!-- 桌面 -->
<div id="desktop">
	<div id="zoom-tip"><div><i>​</i>​<span></span></div><a href="javascript:;" class="close" onClick="HROS.zoom.close();">×</a></div>
	<div id="desk">
		<div id="desk-1" class="desktop-container"><div class="scrollbar scrollbar-x"></div><div class="scrollbar scrollbar-y"></div></div>
		<div id="dock-bar">
			<div id="dock-container">
				<div class="dock-middle">
					<div class="dock-applist"></div>
					<div class="dock-toollist">
						<a id="loginOut" href="logout">
							<img src="${request.contextPath}/statics/plugins/HoorayOS_mini/img/exit.png" style="height:50px;width:50px;">
						</a>
						<span id="username" style="text-align:center;color:white; position:absolute;top:435px; left:15px;">
                            username
                        </span>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="task-bar-bg1"></div>
	<div id="task-bar-bg2"></div>
	<div id="task-bar">
		<div id="task-next"><a href="javascript:;" id="task-next-btn" hidefocus="true"></a></div>
		<div id="task-content">
			<div id="task-content-inner"></div>
		</div>
		<div id="task-pre"><a href="javascript:;" id="task-pre-btn" hidefocus="true"></a></div>
	</div>
</div>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/jquery-1.8.3.min.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/HoorayLibs/hooraylibs.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/templates.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/core.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/hros.app.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/hros.base.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/hros.desktop.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/hros.dock.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/hros.grid.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/hros.maskBox.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/hros.taskbar.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/hros.popupMenu.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/hros.wallpaper.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/hros.widget.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/hros.window.js"></script>
<script src="${request.contextPath}/statics/plugins/HoorayOS_mini/js/hros.zoom.js"></script>
<script>
    $(function(){
        //IE下禁止选中
        document.body.onselectstart = document.body.ondrag = function(){return false;}
        //隐藏加载遮罩层
        $('.loading').hide();
        //IE6,7升级提示
        if($.browser.msie && $.browser.version < 8){
            if($.browser.version < 7){
                //虽然不支持IE6，但还是得修复PNG图片透明的问题
                DD_belatedPNG.fix('.update_browser .browser');
            }
            $('.update_browser_box').show();
        }else{
            $('#desktop').show();
            //初始化一些桌面信息
            HROS.CONFIG.wallpaper = '${request.contextPath}/statics/plugins/HoorayOS_mini/img/wallpaper/wallpaper.jpg';
            //加载桌面
            HROS.base.init();
        }

        $.getJSON("${request.contextPath}/sys/user/getUser",function (res) {
            var user = res.user;
			$("#username").text(user.username)
        })
    });


</script>
</body>
</html>